<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/include/top.jsp" %>
	<div class="sub">
		<div class="sub_left">
			<div class="left_tit">
				<img src="${imgUrl}/left_tit.jpg" border="0" />
			</div>
			<ul>
				<c:forEach var = "menu" items="${menuList}">
					<li><a href="#" onClick="goBoardListMain(<c:out value="${menu.menuIndex}" />)"><c:out value="${menu.menuName}" /></a></li>				
				</c:forEach>
			</ul>
		</div>
		<div class="sub_content">
			<div class="title">
				<div class="tit"><img src="${imgUrl}/join_tit.jpg" border="0" /></div>
				<div class="home">HOME > <font color="#4a7ed5">회원가입</font></div>
			</div>
			<div class="content">
				<div class="bg_top"></div>
				<div class="join3">
					<table border="0" cellspacing="0" cellpadding="0" width="677" align="center">
						<tr>
							<td height="30"></td>
						</tr>
						<tr>
							<td align="center" colspan="2"><img src="${imgUrl}/join_img.jpg" border="0" /></td>
						</tr>
						<tr>
							<td height="38"></td>
						</tr>
						<tr>
							<td height="1" bgcolor="#d6d6d6" colspan="2"></td>
						</tr>
						<tr>
							<td class="t1" width="130" height="32" bgcolor="#fafafa">아이디</td>
							<td class="c1"><c:out value="${user.userId }"/></td><c:out value="${userId }"/>
						</tr>
						<tr>
							<td height="1" bgcolor="#e4e4e4" colspan="2"></td>
						</tr>
						<tr>
							<td class="t1" width="130" height="32" bgcolor="#fafafa">비밀번호</td>
							<td class="c1">****</td>
						</tr>
						<tr>
							<td height="1" bgcolor="#e4e4e4" colspan="2"></td>
						</tr>
						<tr>
							<td class="t1" width="130" height="32" bgcolor="#fafafa">이메일주소</td>
							<td class="c1"><c:out value="${user.email }"/></td>
						</tr>
						<tr>
							<td height="1" bgcolor="#d6d6d6" colspan="2"></td>
						</tr>
					</table>
				</div>
				<div class="bg_bottom"></div>
			</div>
		</div>
	</div>
<form  id="frm" name="frm" method="post" style="display:none;">
	<input type="text" name="menuIndex" id="menuIndex">	
	</form>
<script type="text/javascript">
function goBoardListMain(type) {		
	$("#menuIndex").val(type);
	var url = "/board/boardListMain";	
	
	$("#frm").attr("action", url);
	$("#frm").attr("method", "post");
	$("#frm").submit();		
	
	
	return false;
}
</script>
<%@ include file="/WEB-INF/views/include/bottom.jsp" %>